package com.jacken.mars.entity.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * <p></p>
 *
 * @author wq
 * @date 2020/4/9
 **/
@ConfigurationProperties(prefix = "security")
@Component
@Data
public class SecurityProperties {
    /**
     * 客户端
     */
    private String client;

    /**
     * 有效时间
     */
    private Long validTokenTime;

    /**
     * 过期时间
     */
    private Long validRefreshTime;

    /**
     * 忽略的地址
     */
    private List<String> ignoreUrls = new ArrayList<>();

}
